var http=require("http");

http.get("http://study.163.com/",function (res) {
    var html="";
     res.on("data",function (data) {
         /*console.log("------------------------------------------------------------------------");
         console.log(data);
         console.log(data.length);*/
         html+=data;
     });
     res.on("end",function () {
         console.log(html);
     })

});